package com.yulebaby.callsenter.http;

/**
 * Author: Zhangbo
 * Time: 2016/11/16
 */
public interface ServerUrls {

    /**
     * 开发环境
     */
    String API_BASE = "http://192.168.1.128:8090/callcenter/";

    /**
     * 正式环境
     */
//    String API_BASE = "http://115.29.173.130/callcenter/";
    /**
     * 登录接口
     */
    String OPT_LOGIN = API_BASE + "sales/login";
    /**
     * 近期回访客户接口
     */
    String OPT_VISITCUSTOMER = API_BASE + "sales/listVisitCustomerBySaler";
    /**
     * 客户列表接口
     */
    String OPT_CUSTOMER = API_BASE + "sales/listCustomerBySaler";
    /**
     * 上传接口
     */
    String OPT_UPLOAD = API_BASE + "sales/saveCallRecord";
    /**
     * 通过手机号获取客户的详细数据
     */
    String OPT_CUSTOMERBYPHONE = API_BASE + "sales/findCustomerByPhone";
    /**
     * 通过手机号查询公海客户数据
     */
    String OPT_CUSTOMERINSEABYPHONE = API_BASE + "sales/findCustomerInSeaByPhone";

    /**
     * 通过获取销售的通话记录
     */
    String OPT_LISTSALECALL = API_BASE + "sales/listSaleCall";
    /**
     * 更新用户资料
     */
    String OPT_UPDATECUSTOMERINFO = API_BASE + "sales/updateCustomerInfo";
    /**
     * 获取即将投公海的客户
     */
    String OPT_GOSEACUSTOMERINFO = API_BASE + "sales/findCustomerDays";
    /**
     * 添加售前跟踪记录
     */
    String OPT_ADDPRESALESTRACE = API_BASE + "sales/addPreSalesTraceRecord";

    /**
     * 查询售前跟踪记录
     */
    String OPT_SEARCHPRESALESTRACE = API_BASE + "sales/findPreSalesTraceRecord";
    /**
     * 查询跟踪进展
     */
    String OPT_FINDTRACKPROGRESS = API_BASE + "sales/findTrackProgress";
    /**
     * 查询公海记录
     */
    String OPT_FINDCUSTOMERINSEA = API_BASE + "sales/findCustomerInSea";
    /**
     * 抢客户
     */
    String OPT_ROBCUSTOMER = API_BASE + "sales/grabCustomer";
    /**
     * 投公海
     */
    String OPT_THROWCUSTOMERINTERNATIONALWATER = API_BASE + "sales/updateOwners";
    /**
     * 查询实际转换进展
     */
    String OPT_FINDACTUALTRANPROGRESS = API_BASE + "salesDaily/findActualTranProgress";
    /**
     * 查询是否填写过转换目标
     */
    String OPT_CHECKTRACKTARGET = API_BASE + "salesDaily/checkTrackTarget";
    /**
     * 保存转换目标
     */
    String OPT_SAVETRANTARGET = API_BASE + "salesDaily/saveTranTarget";
    /**
     * 保存未完成原因
     */
    String OPT_SAVEUNFINISHEDREASON = API_BASE + "salesDaily/saveUnfinishedReason";
    /**
     * 查询当日的动态日报
     */
//    String OPT_FINDSALEDAILYTODAY = API_BASE + "salesDaily/findSaleDailyToday";
    String OPT_FINDSALEDAILYTODAY = "http://192.168.1.2/findSaleDailyToday";
    /**
     * 查询静态日报
     */
//    String OPT_FINDSALEDAILYDETAIL = API_BASE + "salesDaily/findSaleDailyDetail";
    String OPT_FINDSALEDAILYDETAIL = "http://192.168.1.2/findSaleDailyDetail";
    /**
     * 查询售前跟踪记录
     */
//    String OPT_FINDPRETRACKTODAY = API_BASE + "salesDaily/findPreTrackToday";
    String OPT_FINDPRETRACKTODAY = "http://192.168.1.2/findPreTrackToday";
    /**
     * 退出登录
     */
    String OPT_LOGOUT = API_BASE + "sales/logout";
}
